package club.monkeywood.config.wechat;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

//微信配置
@Data
@Component
@ConfigurationProperties(prefix = "wechat")
public class WechatConfig {

//    基本配置/ 填写服务器配置/token
    private String token;
    private String APPID;
    private String APPSECRET;
    private String ACCESS_TOKEN_URL;
    private String UPLOAD_URL;
    private String CREATE_MENU_URL;
    private String QUERY_MENU_URL;
    private String DELETE_MENU_URL;
    private String AUTHORIZE_CODE_URL;
    private String CODE2ACCESS_TOKEN_URL;
    private String ACCESS_TOKEN2USER_INFO_URL;

    private String CUSTOM_MENU_PATH;

    private Map<String, String> projecturl;
}
